package com.nightwalkbuddy.dto;

/**
 * reusable generic method to pass two objects at once
 * @param <T> First Object type
 * @param <S> Second Object type
 * @author - htisabel
 */
public class MapPair<T, S> 
{
       
    private T prima;
    private S seconda;

    public MapPair(T priElem, S secElem)
    {
        prima = priElem;
        seconda = secElem;
    }
    
    public T getFirst() {return prima;}
    public S getSecond() {return seconda;}   
}

